// 根据reducers创建管理数据的仓储对象store
import {createStore,applyMiddleware} from 'redux';
// 导入reducers
import reducers from './reducers';
// 导入redux-thunk
import  thunk from 'redux-thunk';

// 导入redux-devtools-extension
import {composeWithDevTools} from 'redux-devtools-extension';
const store=createStore(reducers,composeWithDevTools(applyMiddleware(thunk)));
export default store;